using System.Collections.Generic;
using System.Threading.Tasks;
using Mvvm.Models;

namespace EmotionChat.Services;

public interface IChatDataProcessedStorage
{
    //初始化数据库
    Task InitializeAsync();
    
    //插入数据
    Task InsertAsync(ChatProcessedData chatProcessedData, int identifier);
    
    //查询所有数据
    Task<IList<ChatProcessedData>> ListAsync();
    
    //查询数据
    Task<List<ChatProcessedData>> QueryAsync(int identifier);
    
    Task<List<ChatProcessedData>> QueryAsync(string user1, string user2);

    //删除表
    Task DeleteAsync();
}